package com.baidu.day02;

public class Demo02 {
    public static void main(String[] args) {
        printStart();
        int result = sum(10, 20);
        printEnd();
    }

    public static void printStart() {
        System.out.println("start");
    }

    public static int sum(int a, int b) {
        System.out.println("这里是计算两个数的和");
        return a + b;
    }

    public static void printEnd() {
        System.out.println("end");
    }
}
